# Short Description: Simple timed "WHO"
# Long Description:
#  A simple timer the repeats every 300 seconds.
#  Sends the string "WHO" over the connections
#  socket to the Mu* server.
#
# EOD
class ScriptTimer
  def initialize(client)
     @client = client
     runTimerScript
  end
  def runTimerScript
    Thread::new do
      loop do
        @client.socket.puts "WHO"
        sleep(300)
      end
    end
  end
end
ScriptTimer::new @client